/*
 * mlist.h
 *
 *  Created on: Jan 8, 2012
 *      Author: root
 */

#ifndef MLIST_H_
#define MLIST_H_

#include <stdlib.h>
#include "user_mutex.h"

/*
 * mlist -- contains all the intialized mutexes
 */


typedef struct mlist_struct* mlist_t;

int mlistAdd(uthread_mutex_t mutex);

mlist_t mlistSearch(uthread_mutex_t mutex);

int mlistDelete(uthread_mutex_t mutex);



#endif /* MLIST_H_ */
